package com.app.service;

import com.app.model.IdeaModel;
import com.app.vo.IdeaVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IdeaService  extends IService<IdeaModel> {

    void add(IdeaModel idea);

    List<IdeaModel> selectContent(Integer page, Integer limit, int userId);

    IdeaVo selectIdea(Integer page, Integer limit,String keyword);

    int selectIdeaCount();

    IdeaModel selectIdeaContent(Integer id);

    int getCount();
}
